home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
cucd
/
prog
/
gnu-c
/
fd2inline-1.1
/
src
/
patches
/
timer.h.diff
< prev
Wrap
Text File
|
1996-09-01
|
419b
|
21 lines
--- timer.h.orig Wed Aug 30 16:13:01 1995
+++ timer.h Sat Aug 10 15:53:59 1996
@@ -22,10 +22,17 @@
#define TIMERNAME "timer.device"
+#ifndef _SYS_TIME_H_
+/* Use whatever was included first, standard (sys/time.h) or Amiga
+ * includes (jch). */
struct timeval {
ULONG tv_secs;
ULONG tv_micro;
};
+#else
+#define tv_secs tv_sec
+#define tv_micro tv_usec
+#endif
struct EClockVal {
ULONG ev_hi;